package com.hhit.bigscreenbackmanage.service.tgygl;

import com.hhit.bigscreenbackmanage.entity.tgygl.TTgyglConstructPlanAmiYc;
import org.seimicrawler.xpath.JXNode;

import java.util.List;

/**
 * @author zhl
 */
public interface TTgyglConstructPlanAmiYcService {
    int deleteByPrimaryKey(Integer id);

    int insert(TTgyglConstructPlanAmiYc record);

    int insertSelective(TTgyglConstructPlanAmiYc record);

    TTgyglConstructPlanAmiYc selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTgyglConstructPlanAmiYc record);

    int updateByPrimaryKey(TTgyglConstructPlanAmiYc record);

    /**
     *  导入word文档数据
     * @param jxNode
     * @param id
     * @return
     * @throws Exception
     */
    void insertWord(JXNode jxNode, int id, int year, int month) throws Exception;

    /**
     * 根据文件id查询数据
     * @param fileId    文件id
     * @return
     */
    List<TTgyglConstructPlanAmiYc> selectListByFileId(Integer fileId);
}